package com.chb.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: 陈海彬
 * @date: Created in 2023/9/25 16:18
 * @description: 菜单实体类
 * @modified By:
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu {
    /*菜单id*/
    private Integer mid;
    /*菜单名*/
    private String mname;
    /*菜单跳转页面*/
    private String murl;
    /*父id*/
    private Integer mpid;
    /*菜单图标*/
    private String icon;

    /*存放二级菜单*/
    private List<Menu> children;
}